Optimal. Leaf size=51 \[ -\frac {(b \cot (c+d x))^{n+1} \, _2F_1\left (1,\frac {n+1}{2};\frac {n+3}{2};-\cot ^2(c+d x)\right )}{b d (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3476, 364} \[ -\frac {(b \cot (c+d x))^{n+1} \, _2F_1\left (1,\frac {n+1}{2};\frac {n+3}{2};-\cot ^2(c+d x)\right )}{b d (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 3476
Rubi steps
\begin {align*} \int (b \cot (c+d x))^n \, dx &=-\frac {b \operatorname {Subst}\left (\int \frac {x^n}{b^2+x^2} \, dx,x,b \cot (c+d x)\right )}{d}\\ &=-\frac {(b \cot (c+d x))^{1+n} \, _2F_1\left (1,\frac {1+n}{2};\frac {3+n}{2};-\cot ^2(c+d x)\right )}{b d (1+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 54, normalized size = 1.06 \[ -\frac {\cot (c+d x) (b \cot (c+d x))^n \, _2F_1\left (1,\frac {n+1}{2};\frac {n+1}{2}+1;-\cot ^2(c+d x)\right )}{d (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 2.99, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\left (b \cot \left (d x + c\right )\right )^{n}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \cot \left (d x + c\right )\right )^{n}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.18, size = 0, normalized size = 0.00 \[ \int \left (b \cot \left (d x +c \right )\right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \cot \left (d x + c\right )\right )^{n}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int {\left (b\,\mathrm {cot}\left (c+d\,x\right )\right )}^n \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b \cot {\left (c + d x \right )}\right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________